// yuanbei.c
// Last Modified by winder on May. 29 2001

#include "/kungfu/class/nanshaolin/yuan.h";
inherit NPC;
inherit F_MASTER;

void create()
{
	set_name("元悲", ({ "yuan bei", "bei", "yuan" }));
	set("long","他是一位中等个子的和尚，身穿一袭青布镶边袈裟。太阳穴微凸，双目炯炯有神。\n");
	set("nickname", "达摩院上座三僧");
	set("gender", "男性");
	set("attitude", "friendly");
	set("class", "bonze");

	set("age", 30);
	set("shen_type", 1);
	set("str", 30);
	set("int", 20);
	set("con", 30);
	set("dex", 20);
	set("max_qi", 1500);
	set("max_jing", 600);
	set("neili", 1200);
	set("max_neili", 1200);
	set("jiali", 50);
	set("combat_exp", 500000);
	set("score", 3000);

	set_skill("literate", 100);
	set_skill("buddhism", 100);
	set_skill("parry", 100);
	set_skill("force", 100);
	set_skill("zhanzhuang-gong", 100);
	set_skill("dodge", 100);
	set_skill("yiwei-dujiang", 100);
// basic skill begin
	set_skill("shaolin-cuff", 100);
	set_skill("luohan-cuff", 100);
	set_skill("weituo-strike", 100);
	set_skill("sanhua-strike", 100);
	set_skill("boluomi-hand", 100);
	set_skill("jingang-strike", 100);
// basic skill end
// 拳、腿、刀、剑
	set_skill("cuff", 100);
	set_skill("leg", 100);
	set_skill("shaolin-leg", 100);
	set_skill("blade", 100);
	set_skill("cibei-blade", 100);
	set_skill("xiuluo-blade", 100);
	set_skill("sword", 100);
	set_skill("damo-sword", 100);
	set_skill("fumo-sword", 100);

	map_skill("force", "zhanzhuang-gong");
	map_skill("dodge", "yiwei-dujiang");
	map_skill("cuff", "luohan-cuff");
	map_skill("leg", "shaolin-leg");
	map_skill("blade", "xiuluo-blade");
	map_skill("sword", "fumo-sword");
	map_skill("parry", "xiuluo-blade");

	prepare_skill("cuff", "luohan-cuff");

	create_family("南少林派", 20, "弟子");

	setup();
	carry_object(WEAPON_DIR+"blade/jiedao")->wield();
	carry_object("/d/shaolin/obj/hui-cloth")->wear();
}

void init()
{
	object ob;

	::init();
	add_action("do_nod", "nod");
}
